%{
    _ALL_USERS = models.security.utils.SecurityConstant.DIC_ALL_USER_LIST_NAME;
}%
<div class="modal-header">
   <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
   <span class="modal-title">用户详情</span>
   </div>
   <div class="modal-body">
        <div class="box-body">
                    <div class="form-group col-md-6">
                    <label>姓名：</label>
                    ${user?.name}
                    </div>
                    <div class="form-group col-md-6">
                    <label>用户名：</label>
                    ${user?.userName}
                    </div>
                   <div class="form-group col-md-6">
                    <label>密钥：</label>
                    ${user?.securityKey}
                    </div>
                   <div class="form-group col-md-6">
                    <label>角色：</label>
                    ${user?.roleNames()}
                    </div>
                    <div class="form-group col-md-6">
                    <label>上次登录IP：</label>
                    ${user?.lastLoginIp}
                    </div>
                          <div class="form-group col-md-6">
                    <label>上次登录：</label>
                     ${user?.lastLoginAt?.format('yyyy-MM-dd hh:mm:ss')}
                    </div>
                          <div class="form-group col-md-6">
                    <label>本次登录IP：</label>
                     ${user?.loginIp}
                    </div>
                    <div class="form-group col-md-6">
                    <label>本次登录：</label>
                     ${user?.loginAt?.format('yyyy-MM-dd hh:mm:ss')}
                    </div>
                    <div class="form-group col-md-6">
                    <label>创建人：</label>
                     #{f.dicValue _ALL_USERS,key:user?.creatorId /}
                    </div>
                    <div class="form-group col-md-6">
                    <label>创建时间：</label>
                    ${user?.createdAt?.format('yyyy-MM-dd HH:mm:ss')}
                    </div>
                    <div class="form-group col-md-6">
                    <label>操作人：</label>
                    #{f.dicValue _ALL_USERS,key:user?.operatorId /}
                    </div>
                  <div class="form-group col-md-6">
                    <label>更新时间：</label>
                    ${user?.updatedAt?.format('yyyy-MM-dd HH:mm:ss')}
                    </div>
                    
        </div>
   </div>
<!--    <div class="modal-footer">
            <button type="button" class="btn btn-primary">保存</button>
            <button type="button" class="btn btn-white" data-dismiss="modal">关闭</button>
 
 </div>  -->